home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Perl Multimedia Cyber Classroom
/
PERL Multimedia Cyber Classroom (Prentice Hall)(1998).ISO
/
perlbyex
/
code.jar
/
07ex010.jar
/
code
/
ch07
/
07ex010
/
07ex010.pl
next >
Wrap
Perl Script
|
1998-04-01
|
182b
|
7 lines
#!/usr/bin/perl
# Script: pop_function
@names=("Bob", "Dan", "Tom", "Guy");
print "@names\n";
print pop(@names); # pop off last element of the array
print "\n@names\n";